package net.peihuan.service;

import net.peihuan.entity.Category;

import java.util.List;

public interface CategoryService {

    List<Category> findAllWithArticles();

    List<Category> findAll();

    int save(Category category);

    int delete(int id);

    Category find(int id);

    int count();

    int update(Category category);

}
